html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-width: 800px;
    height: 100%;
}

textarea {
    resize: none;
}

div#header {
    background-color: #dbdbdb;
    padding-top: 0.5%;
    padding-right: 4%;
    padding-bottom: 0.5%;
    padding-left: 4%;
    height: 42px;
}

div#header div#widgets {
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
}

div#header div#logo {
    float: left;
    font-size: 20px;
}

div#header div#menu {
    padding-top: 3px;
    float: right;
}

div#header div#menu div#menu-list {
    display: none;
    background-color: #e6e6e6;
    position: absolute;
    top: 48px;
    right: 2%;
    z-index: 16384;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}

div#header div#menu div#menu-arrow {
    display: inline-block;
    border-bottom: solid 12px #e6e6e6;
    border-left: solid 8px transparent;
    border-right: solid 8px transparent;
    position: absolute;
    top: -12px;
    right: 24px;
    z-index: 16384;
}

div#header div#menu a {
    color: #333;
    text-decoration: none;
}

div#header div#menu ul#menu-items {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

div#header div#menu li.menu-item {
    list-style: none;
    padding: 10px;
    margin: 10px;
}

div#header div#menu li.menu-item:hover {
    background-color: #b3b3b3;
    border: 1px solid #a7a7a7;
}

div#header div#menu li.menu-item img {
    max-height: 24px;
    max-width: 24px;
}

div#container {
    height: 100%;
}

div#container div#workbenches {
    height: 84%;
    overflow: hidden;
}

div#container div#workbenches div.carousel-inner {
    height: 100%;
}

div#container a.carousel-control {
    background-image: none;
    top: 40%;
    width: 5%;
}

div#container div#workbenches div.item {
    height: 100%;
}

div#container div#workbenches div.workbench {
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 84%;
}

div#container div#workbenches div.workbench div.image-title {
    border-bottom: 1px solid #808080;
    text-align: center;
    max-height: 75px;
    overflow: hidden;
}

div#container div#workbenches div.workbench div.meta-box {
    margin-top: 1%;
    margin-bottom: 1%;
    overflow: hidden;
    text-align: center;
}

div#container div#workbenches div.workbench div.meta-box div.figure-legand {
    float: left;
    padding-right: 2%;
    padding-bottom: 1%;
    text-align: left;
    width: 32%;
}

div#container div#workbenches div.workbench div.meta-box div.image-box {
    border-left: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    display: inline-block;
    position: relative;
    line-height: 140px;
    text-align: center;
    max-width: 32%;
    width: 100%;
}

div#container div#workbenches div.workbench div.meta-box div.image-box img {
    cursor: pointer;
    vertical-align: middle;
    max-width: 84%;
    max-height: 135px;
}

div#container div#workbenches div.workbench div.meta-box div.image-box a {
    display: block;
    line-height: 100%;
    margin-top: 10px;
}

div#container div#workbenches div.workbench div.meta-box div.relatived-article {
    float: right;
    padding-left: 2%;
    text-align: left;
    width: 32%;
}

div#container div#workbenches div.workbench div.meta-box div.relatived-article a {
    display: block;
    margin-top: 10px;
}

div#container div#workbenches div.workbench div.get-tags-box {
    border-bottom: 1px solid #808080;
    padding-bottom: 10px;
    text-align: center;
    max-height: 48px;
    overflow: hidden;
}

div#container div#workbenches div.workbench div.get-tags-box button {
    margin-right: 4px; 
    width: 10%;
}

div#container button.btn-recommend,
div#container button.btn-tag {
    background-color: #4d4d4d;
    color: #fff;
    max-width: 100%;
}

div#container button.btn-type {
    background-color: #29abe2;
    color: #fff;
}

div#container button.btn-axes {
    background: #3399cc;
    color: #fff;
}

div#container button.btn-ontology{
    background-color: #002FA7;
    color: #efefef !important;
    display: block;
    font-size: 17px;
    margin-bottom: 10px;
}

div#container div#workbenches div.workbench div.get-tags-box input[type=text] {
    border: 1px solid #4d4d4d;
    padding: 4px 4px 6px;
    width: 40%;
}

div#container div#workbenches div.workbench div.tags {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    height: 48%;
    max-width: 96%;
}

div#container div#workbenches div.workbench div.tag {
    overflow: hidden;
    max-height: 60px;
    padding: 10px;
}

div#container div#workbenches div.workbench div.tag:last-child {
    border-bottom: none;
}

div#container div#workbenches div.workbench div.tag div.tag-name {
    float: left;
    width: 75%;
    overflow: hidden;
}

div#container div#workbenches div.workbench div.tag div.tag-control {
    float: right;
}

div#container div#workbenches div.workbench div.tag div.tag-control button {
    margin-left: 15px;
}

div#container div#workbenches div.workbench div.tags div.label {
    color: #eee;
    font-size: 60px;
    position: absolute;
    top: 100px;
    z-index: -128;
}

div#container div#workbenches div.workbench div.tags div.recommend-tags div.label {
    left: 15%;
}

div#container div#workbenches div.workbench div.tags div.recommend-tags {
    float: left;
    overflow: auto;
    min-height: 10px;
    max-height: 100%;
    width: 46%;
}

div#container div#workbenches div.workbench div.tags div.seperator {
    border-right: 1px solid #808080;
    float: left;
    height: 2048px;
    padding-left: 40px;
    padding-right: 10px;
}

div#container div#workbenches div.workbench div.tags div.selected-tags {
    float: right;
    overflow: auto;
    min-height: 10px;
    max-height: 100%;
    width: 46%;
}

div#container div#workbenches div.workbench div.tags div.selected-tags div.label {
    left: 65%;
}

div#container div#large-image-dialog {
    text-align: center;
}

div#container div#large-image-dialog img#large-image {
    max-width: 100%;
    max-height: 100%;
}

div#container div#large-image-dialog button#close-large-image-dialog {
    display: block;
    margin: 10px auto;
}

div#container div#relatived-article-dialog div.modal-dialog {
    background-color: #fff;
    width: 80%;
}

div#container div#relatived-article-dialog div.modal-dialog h2,
div#container div#relatived-article-dialog div.modal-dialog p#author {
    text-align: center;
}

div#container div#relatived-article-dialog div.modal-dialog h4 {
    background-color: #333;
    color: #fff;
    padding: 5px 0;
}

div#container div#relatived-article-dialog div.modal-dialog div.highlight{
    background-color: #002FA7;
    color:#fff;
}

div#container div#image-type-dialog {
    position: fixed;
    top: 15%;
    left: 25%;
}

div#container div#axes-dialog {
    position: fixed;
    top: 15%;
    left: 25%;
}

div#container div.modal-dialog div.modal-body {
    overflow: hidden;
}

div#container div.modal-dialog div.modal-body div.column {
    float: left;
    width: 50%;
}

div#container div.modal-dialog div.modal-body div.option.sub-item {
    margin-left: 20px;
}

div#container div.modal-dialog div.modal-body div.option label {
    font-size: 16px;
    font-weight: normal;
}

div#container input#article {
    display: none;
}

div#container div#save-controls {
    margin: 0 auto;
    text-align: right;
    width: 84%;
}